import { Component, PropsWithChildren } from 'react'
import {init} from "@/utilsFun/init";
import { Provider } from 'react-redux'
import configStore from './store'
import './app.scss'

const store = configStore()

class App extends Component {
  componentWillMount() {
		init();
	}
  render() {
    return <Provider store={store}>{this.props.children}</Provider>
  }
}

export default App
